package customerservice

import (
	"counter-help/admin/server/plugin/cusservice/service/ws"
	"github.com/gin-gonic/gin"
)

type CustomerServicePlugin struct {
}

func CreateCustomerServicePlug() *CustomerServicePlugin {
	// 协程 Websocket 启动、检查清理
	go ws.Manager.Start()
	go ws.Manager.CheckClientActivity()
	return &CustomerServicePlugin{}
}

func (*CustomerServicePlugin) Register(group *gin.RouterGroup) {
	// router.RouterGroupApp.InitCustomerServiceRouter(group)
}

func (*CustomerServicePlugin) RouterPath() string {
	return ""
}
